package com.hualan.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;

public class PanghuShopGoods {
    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 商品名字
     */
    private String goodsName;

    /**
     * 商品图片
     */
    private String goodsImage;


    /**
     * 商品现价
     */
    private BigDecimal goodsPresentPrice;

    /**
     * 店铺id
     */
    private Integer shopId;


    private Integer goodsStatus;

    /**
     * 店铺类目id
     */
    private Integer shopCategoryId;

    /**
     * 添加时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /**
     * 商品计量单位 例如：斤、件、杯
     */
    private String goodsUnit;

    /**
     * 商品购物车数量
     */
    private String goodsCartCount;

    /**
     * 店铺名字
     */
    private String goodsShopName;

    /**
     * 商品销量
     */
    private Integer goodsSalesVolume;


    /**
     * 获取商品id
     *
     * @return goods_id - 商品id
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置商品id
     *
     * @param goodsId 商品id
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取商品名字
     *
     * @return goods_name - 商品名字
     */
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * 设置商品名字
     *
     * @param goodsName 商品名字
     */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    /**
     * 获取商品图片
     *
     * @return goods_image - 商品图片
     */
    public String getGoodsImage() {
        return goodsImage;
    }

    /**
     * 设置商品图片
     *
     * @param goodsImage 商品图片
     */
    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    /**
     * 获取商品现价
     *
     * @return goods_present_price - 商品现价
     */
    public BigDecimal getGoodsPresentPrice() {
        return goodsPresentPrice;
    }

    /**
     * 设置商品现价
     *
     * @param goodsPresentPrice 商品现价
     */
    public void setGoodsPresentPrice(BigDecimal goodsPresentPrice) {
        this.goodsPresentPrice = goodsPresentPrice;
    }

    /**
     * 获取店铺id
     *
     * @return shop_id - 店铺id
     */
    public Integer getShopId() {
        return shopId;
    }

    /**
     * 设置店铺id
     *
     * @param shopId 店铺id
     */
    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    /**
     * 获取店铺类目id
     *
     * @return shop_category_id - 店铺类目id
     */
    public Integer getShopCategoryId() {
        return shopCategoryId;
    }

    /**
     * 设置店铺类目id
     *
     * @param shopCategoryId 店铺类目id
     */
    public void setShopCategoryId(Integer shopCategoryId) {
        this.shopCategoryId = shopCategoryId;
    }

    /**
     * 获取添加时间
     *
     * @return add_time - 添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置添加时间
     *
     * @param addTime 添加时间
     */

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取商品计量单位 例如：斤、件、杯
     *
     * @return goods_unit - 商品计量单位 例如：斤、件、杯
     */
    public String getGoodsUnit() {
        return goodsUnit;
    }

    /**
     * 设置商品计量单位 例如：斤、件、杯
     *
     * @param goodsUnit 商品计量单位 例如：斤、件、杯
     */
    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public String getGoodsCartCount() {
        return goodsCartCount;
    }

    public void setGoodsCartCount(String goodsCartCount) {
        this.goodsCartCount = goodsCartCount;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public String getGoodsShopName() {
        return goodsShopName;
    }

    public void setGoodsShopName(String goodsShopName) {
        this.goodsShopName = goodsShopName;
    }

    public Integer getGoodsSalesVolume() {
        return goodsSalesVolume;
    }

    public void setGoodsSalesVolume(Integer goodsSalesVolume) {
        this.goodsSalesVolume = goodsSalesVolume;
    }

    public PanghuShopGoods() {
    }

    public PanghuShopGoods(Integer goodsId, String goodsName, String goodsImage, BigDecimal goodsPresentPrice, Integer shopId, Integer goodsStatus, Integer shopCategoryId, Date addTime, String goodsUnit, String goodsCartCount, String goodsShopName, Integer goodsSalesVolume) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsImage = goodsImage;
        this.goodsPresentPrice = goodsPresentPrice;
        this.shopId = shopId;
        this.goodsStatus = goodsStatus;
        this.shopCategoryId = shopCategoryId;
        this.addTime = addTime;
        this.goodsUnit = goodsUnit;
        this.goodsCartCount = goodsCartCount;
        this.goodsShopName = goodsShopName;
        this.goodsSalesVolume = goodsSalesVolume;
    }

    @Override
    public String toString() {
        return "PanghuShopGoods{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsImage='" + goodsImage + '\'' +
                ", goodsPresentPrice=" + goodsPresentPrice +
                ", shopId=" + shopId +
                ", goodsStatus=" + goodsStatus +
                ", shopCategoryId=" + shopCategoryId +
                ", addTime=" + addTime +
                ", goodsUnit='" + goodsUnit + '\'' +
                ", goodsCartCount=" + goodsCartCount +
                ", goodsShopName='" + goodsShopName + '\'' +
                ", goodsSalesVolume=" + goodsSalesVolume +
                '}';
    }
}